package cn.kmsoft.stgeometry.landm;

import java.io.Serializable;

/**
 * 字段结构定义
 */
public class FieldInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    private int index;//排序号
    private String name;//字段名称
    private String type;//类型，TEXT、INT、REAL、DOUBLE、DATE、DATETIME、BLOB
    private String alias;//字段别名
    private int length=50;//当为文本时默认长度为50
    private String defaultValue;//默认值

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }


    public int getIndex() {
        return index;
    }
    public void setIndex(int index) {
        this.index = index;
    }

    public int getLength() {
        return length;
    }
    public void setLength(int length) {
        this.length = length;
    }

    public String getDefaultValue() {
        return defaultValue;
    }
    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }


}
